home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / gfx / fract / fu1_61.lha / Formulas / MandelStar.Form < prev    next >
Text File  |  1994-12-17  |  302b  |  35 lines

  1. MandelStar
  2. {
  3.     {
  4.         x1=-2.5
  5.         x2= 2.5
  6.         y1=-2.0
  7.         y2= 2.0
  8.         par1.r=0.3
  9.         par1.i=0.0
  10.         bailout=4.0
  11.     }
  12.     {
  13.         c=pixel
  14.         z=pixel
  15.     }
  16.     {
  17.         z=z*z
  18.         z=z-c
  19.         t=real(z)
  20.         t=t*t
  21.         s=imag(z)
  22.         s=s*s
  23.         r=s+t
  24.         r=pow(r,par1)
  25.         r=abs(r)
  26.     }
  27.     {
  28.         r>bailout
  29.     }
  30.     {
  31.         PAR1-STAR(VATION) FACTOR
  32.         TRY ALSO NEGATIVE VALUES
  33.     }
  34. }
  35.